package com.example.demo.entity;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.oauth2.core.user.DefaultOAuth2User;

import java.util.Collection;
import java.util.Map;

/**
 * @author void
 * @date 2021/5/18 17:42
 * @desc
 */
public class MyUserInfo extends DefaultOAuth2User {

    public MyUserInfo(Collection<? extends GrantedAuthority> authorities, Map<String, Object> attributes, String nameAttributeKey) {
        super(authorities, attributes, nameAttributeKey);
    }
}
